<?php
/**
 * Created By virus_cms
 * Author: Virus
 * Date: 2020/3/31
 * Time: 12:01
 */


/**
 * 判断核心是否安装
 * @return bool
 */
function vms_is_installed()
{
    static $vmsIsInstalled;
    if (empty($vmsIsInstalled)) {
        $vmsIsInstalled = file_exists(VMS_DATA.'install.lock');
    }

    return $vmsIsInstalled;
}